#ifndef MATCHALARMREPORTREQUEST_H
#define MATCHALARMREPORTREQUEST_H

#include "BaseRequest.h"

using AlaramList =struct MatchAlarmList
{
    QString alarmCode;
    QString status;
};

class MatchAlarmReportRequest : public BaseRequest
{
public:
    MatchAlarmReportRequest()=default;
    MatchAlarmReportRequest(const QList<MatchAlarmList>& alarmList,const QString& factoryNo,const QString& transId,const QDateTime& eventTime,const QString& eventUser,const QString& machineNo);

    // BaseRequest interface
    QByteArray toJson() const override;
    QString getEndPoint() const override;
public:
    QList<AlaramList> alarmList;
    QString factoryNo;
    QString transId;
    QDateTime eventTime;
    QString eventUser;
    QString machineNo;


};

#endif // MATCHALARMREPORTREQUEST_H
